﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ToolKit.Mvvm.Interfaces
{
    /// <summary>
    /// 模块管理器
    /// </summary>
    public interface IModuleManager
    {
        string ModuleCatalog { get; set; }
        ConcurrentDictionary<string, Type> ModuleMaps { get; }
        ConcurrentDictionary<string, object> Instances { get; }

        IModuleManager InitializeModule();
        IModuleManager AddModule<T>();
        IModuleManager AddModule(Type type);
    }
}
